import request from '@/utils/axios'

// 获取疾病分组
export const diseaseGroupList = () => {
  return request.get({
    url: '/disease/manage/group/list-all'
  })
}

// 基本情况
export const basicPat = (data: any) => {
  return request.get({
    url: `/disease/stat/pat`,
    params: data
  })
}

// 确诊治疗情况
export const diagnosed = (data: any) => {
  return request.get({
    url: `/disease/stat/pat/list-diagnose`,
    params: data
  })
}

// 诊断检测
export const diagnostic = (data: any) => {
  return request.get({
    url: `/disease/stat/diag`,
    params: data
  })
}

// 检出情况
export const detection = (data: any) => {
  return request.get({
    url: `/disease/stat/diag/condition`,
    params: data
  })
}

//耐药检测
export const resistent = (data: any) => {
  return request.get({
    url: `/disease/stat/resistant`,
    params: data
  })
}

// 抗生素用药情况
export const antibiotic = (data: any) => {
  return request.get({
    url: `/disease/stat/anti/drug`,
    params: data
  })
}

// 用药方案
export const drugPlan = (data: any) => {
  return request.get({
    url: `/disease/stat/drug/plan`,
    params: data
  })
}

// 耐药情况
export const resistantDrug = (data: any) => {
  return request.get({
    url: `/disease/stat/drug/sen`,
    params: data
  })
}

// 管理业务
export const manage = (data: any) => {
  return request.get({
    url: `/disease/stat/manage`,
    params: data
  })
}

// ai挖掘
export const aiData = (data: any) => {
  return request.get({
    url: `/disease/stat/ai`,
    params: data
  })
}
